package admin

import (
	"meituan/apps/admin/controllers"
	_ "meituan/apps/admin/models"

	"github.com/gin-gonic/gin"
)

func IncludeAdminRouter(router *gin.RouterGroup, prefix string) {
	adminRouter := router.Group(prefix)
	{
		adminRouter.POST("/login", controllers.Login)
		adminRouter.POST("/register", controllers.Register)
	}
}
